import request from '@/utils/request'
// 酒品分类
// 查询商品分类列表
export function listClassification(query) {
  return request({
    url: '/service/classification/app/list',
    method: 'get',
    params: query
  })
}
// 热销酒品列表
export function winHot(query) {
  return request({
    url: '/service/classification/list/winHot',
    method: 'get',
    params: query
  })
}
// 获取置顶酒品列表
export function winTopping(query) {
  return request({
    url: '/service/classification/list/winTopping',
    method: 'get',
    params: query
  })
}
// 获取酒品详情
export function app(query) {
  return request({
    url: '/service/commodity/app',
    method: 'get',
    params: query
  })
}
// 根据分类获取酒水
export function list(query) {
  return request({
    url: '/service/commodity/app/list',
    method: 'get',
    params: query
  })
}

// 根据分类获取酒水
export function searchList(query) {
  return request({
    url: '/service/commodity/app/search',
    method: 'get',
    params: query
  })
}
